<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ page isELIgnored ="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
	<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
	
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title><spring:message code="search.criteria.form.title" /> </title>
<style type="text/css">
	.errorblock {
	color: #000;
	background-color: #ffEEEE;
	border: 3px solid #ff0000;
	padding: 8px;
	margin: 16px;
}
</style>
</head>
<body>

<form:form commandName="searchCriteria" action="${flowExecutionUrl}">
<form:errors path="*" cssClass="errorblock" element="div" />
	<table align="center">
		<tr>
			<td>
				<spring:message  code="search.criteria.form.last.name"/>
			</td>
			<td>
				<form:input path="lastName"/>
			</td>
		</tr>
		<tr>
			<td><spring:message code="search.criteria.form.first.name"/></td>
			<td>
				<form:input path="firstName"/>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<button type="submit" name="_eventId_search" >
					Search
				</button>
				<button type="submit" name="_eventId_cancel" >
					Cancel
				</button>
			</td>
		</tr>
	</table>
</form:form>
</body>
</html>